package cn.others;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class LinkedDemo {
    //这是一个main方法,是程序的入口
    public static void main(String[] args) {
        Student lizemin = Student.getStudent().setName("lizemin").setAge(28);
        System.out.println(lizemin.getName());
        System.out.println(lizemin.getAge());

        Student zhang = new Student().setName("zhang").setAge(22);
        System.out.println(zhang.getAge());

    }
}
